//
//  LMSettingObject.m
//  彩票
//
//  Created by apple on 15/9/23.
//  Copyright (c) 2015年 李明. All rights reserved.
//

#import "LMSettingObject.h"

@implementation LMSettingObject


- (instancetype)initWithIcon:(NSString *)icon title:(NSString *)title  type:(NSString *)type
{
    if (self = [super init]) {
        self.icon = icon;
        self.title = title;
        self.type = type;
    }
    return self;
}

+ (instancetype)SettingObjectWithIcon:(NSString *)icon title:(NSString *)title type:(NSString *)type{
    return [[LMSettingObject alloc] initWithIcon:icon title:title type:type];
}


+ (instancetype)SettingObjectWithIcon:(NSString *)icon title:(NSString *)title type:(NSString *) type vcClass:(Class) vcClass
{
    LMSettingObject *item = [self SettingObjectWithIcon:icon title:title type:type];
    item.vcClass = vcClass;
    
    return item;
}

@end
